package com.un.ebs.inventory.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * <p>
 * 仓库 Add dto.
 * </p>
 *
 * @author liubo
 * @since 2020-05-24
 */
@Data
public class WarehouseAddDto {

    private String parentId;

    @NotNull
    private String code;

    @NotNull
    private String name;

    private String address;

    private String tel;

    private String remark;

    private Boolean isReceive = false;

    private Boolean isDeliver = false;

    private Boolean isStore = false;

    private Boolean isProducer = false;

    private Boolean isTemp = false;

    private Boolean isBad = false;

    private Boolean isMaterial = false;

    private Boolean isProduct = false;

}